class parentNode {
    constructor() {
        this.init()
    }
    init() {
        let element = document.createElement('div');
        element.className = 'Message-parentNode';

        this.element = element;
        document.body.appendChild(element)
    }
    appendChild(child) {
        this.element.appendChild(child);
    }
    removeChild(child) {
        this.element.removeChild(child);
    }
    setHeight(height) {
        this.element.style.height = height + 'px';
    }

}
export default parentNode